package com.lzw.service.dormitoryAdmin;

import com.lzw.pojo.Announcement;

import java.time.LocalDate;
import java.util.List;

public interface AnnounceService {
    List<Announcement> list(Integer pageNum, Integer pageSize, LocalDate datePosted, String postedBy);

    void add(Announcement announcement);
}
